import Home from '../views/Home/Home'
import Detail from '../views/Detail/Detail'
import Collect from '../views/Collect/Collect'
import Mine from '../views/Mine/Mine'
import Login from '../views/Login/Login'
import Page404 from '../views/Page404/Page404'
const router=[
  {
    path:'/',
    element:<Home/>
  },
  {
    path:'/home',
    element:<Home/>
  },
  {
    path:'/detail/:id',
    element:<Detail/>
  },
  {
    path:'/login',
    element:<Login/>
  },
  {
    path:'/collect',
    element:<Collect/>
  },
  {
    path:'/mine',
    element:<Mine/>
  },
  {
    path:'/Page404',
    element:<Page404/>
  }
]

export default router;